<template>
    <div>
        <div style="height: 1rem;"></div>
        <coupon-list ref="child" v-bind:typeShow="false"  v-bind:filterCon="false" showInner="true" rootType="oneCoupon" :oneCouponData="{couponId:$route.params.couponId,mchtId:$route.params.mchtId}"></coupon-list>
    </div>
</template>
<script>
    import star from '../../componentes/global/star.vue'
    import couponNum from '../../componentes/global/couponNum.vue'
    import couponList from '../../componentes/global/couponList.vue'
    import getData2 from '../../service/getData2.js'
    import * as types from '../../vuex/types.js'
    import * as types1 from '../../vuex/appendType'
    import listLoading from '../../componentes/global/listLoading.vue'
    import { mapState } from 'vuex'
    export default{
        data(){
            return{
                loading:true,
                noMoreFind:true
            }
        },
        components: {
            star,
            couponNum,
            listLoading,
            couponList
        },
        computed:{
            ...mapState({
                position:state => state.coupon.position,
                orderPageList:state => state.find.orderPageList,
                orderPageLimit:state => state.find.orderPageLimit
            })
        },
        created:function(){
            this.$store.commit(types1.ORDER);
            this.$store.commit(types1.ORDER_PAGE,1);

        },
        methods:{

        },
    }
</script>
<style>
</style>
